<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>图像加法</title>
      <style type="text/css">
        .input{
        display:block;
        widht:250px;
        height:30px;
        margin:10px auto;}
        .button{
        background:#2066c5;
        color:white;
        font-size:18px;
        font-weight:bold;
        height:30px;
        border-radius:4px;
        }
        p{
        text-align:center;
        }
    </style>
</head>
<body>
<p>请上传两张相同分辨率的图像</p>
<form action="" method="post" enctype="multipart/form-data">
 <input type="file" name="file"  class="input">
         <input type="file" name="file2"  class="input">
    <input type="submit" value="submit"  class="input button">
</form>
{% if pic1 and pic2 and res_pic %}
<img src={{pic1}} style="margin-left:300px" height="300"/>
<img src={{pic2}} style="margin-left:300px" height="300"/>
<img src={{res_pic}} style="margin-left:300px" height="300"/>
{% endif %}
</body>
</html>